/////////////////////////////////////////////////////////////////////////////
// Name:        dgt_Mainframe.cpp
// Purpose:     
// Author:      Aleksey Plotnikov
// Modified by: 
// Created:     01/12/2010 17:02:59
// RCS-ID:      
// Copyright:   Diamant Software - all rights reserved
// Licence:     
/////////////////////////////////////////////////////////////////////////////

// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"

#ifdef __BORLANDC__
#pragma hdrstop
#endif

#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif

////@begin includes
////@end includes

#include "dgt_Mainframe.h"

////@begin XPM images

////@end XPM images


/*!
 * dgt_Mainframe type definition
 */

IMPLEMENT_CLASS( dgt_Mainframe, wxFrame )


/*!
 * dgt_Mainframe event table definition
 */

BEGIN_EVENT_TABLE( dgt_Mainframe, wxFrame )

////@begin dgt_Mainframe event table entries
////@end dgt_Mainframe event table entries

END_EVENT_TABLE()


/*!
 * dgt_Mainframe constructors
 */

dgt_Mainframe::dgt_Mainframe()
{
    Init();
}

dgt_Mainframe::dgt_Mainframe( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style )
{
    Init();
    Create( parent, id, caption, pos, size, style );
}


/*!
 * dgt_Mainframe creator
 */

bool dgt_Mainframe::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style )
{
////@begin dgt_Mainframe creation
    wxFrame::Create( parent, id, caption, pos, size, style );

    CreateControls();
    Centre();
////@end dgt_Mainframe creation
    return true;
}


/*!
 * dgt_Mainframe destructor
 */

dgt_Mainframe::~dgt_Mainframe()
{
////@begin dgt_Mainframe destruction
////@end dgt_Mainframe destruction
}


/*!
 * Member initialisation
 */

void dgt_Mainframe::Init()
{
////@begin dgt_Mainframe member initialisation
////@end dgt_Mainframe member initialisation
}


/*!
 * Control creation for dgt_Mainframe
 */

void dgt_Mainframe::CreateControls()
{    
////@begin dgt_Mainframe content construction
    dgt_Mainframe* itemFrame1 = this;

////@end dgt_Mainframe content construction
}


/*!
 * Should we show tooltips?
 */

bool dgt_Mainframe::ShowToolTips()
{
    return true;
}

/*!
 * Get bitmap resources
 */

wxBitmap dgt_Mainframe::GetBitmapResource( const wxString& name )
{
    // Bitmap retrieval
////@begin dgt_Mainframe bitmap retrieval
    wxUnusedVar(name);
    return wxNullBitmap;
////@end dgt_Mainframe bitmap retrieval
}

/*!
 * Get icon resources
 */

wxIcon dgt_Mainframe::GetIconResource( const wxString& name )
{
    // Icon retrieval
////@begin dgt_Mainframe icon retrieval
    wxUnusedVar(name);
    return wxNullIcon;
////@end dgt_Mainframe icon retrieval
}
